package com.run.guifeng.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Data
@TableName("guifeng_mall_order_item")
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class OrderItem extends BaseEntity {
    @TableId(value="id",type= IdType.AUTO)
    private Integer id;

    @TableField(value = "order_no", exist = true)
    private String orderNo;

    @TableField(value = "goods_id", exist = true)
    private Integer goodsId;

    @TableField(value="goods_name",exist=true)
    private String goodsName;

    @TableField(value="goods_cover_img",exist=true)
    private String goodsCoverImg;

    @TableField(value="selling_price",exist=true)
    private Double selPrice;

    @TableField(value = "goods_count",exist=true)
    private Integer goodsCount;

}
